// 定义项目中用到的请求
import request from "../util/request";

export const testQuery = function (params = {}) {
  // 基于工具发送请求
  return request({
    url: "/query",
    method: "get",
    params: params,
  });
};
export const testBody = function (params = {}) {
  // 基于工具发送请求
  return request({
    url: "/body",
    method: "post",
    params,
  });
};
